package com.zmc.order.infrastructure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zmc.common.utils.PageUtils;
import com.zmc.order.infrastructure.bean.query.CommentInfoQuery;
import com.zmc.order.infrastructure.bean.query.GoodDetailCommentQuery;
import com.zmc.order.infrastructure.bean.vo.CommentInfoVo;
import com.zmc.order.infrastructure.entity.CommentInfoEntity;
import com.zmc.order.infrastructure.entity.CommentMemberInfoEntity;

/**
 * 评论信息表
 *
 * @author zmc
 * @email 
 * @date 2025-02-20 17:47:11
 */
public interface CommentInfoService extends IService<CommentInfoEntity> {

    PageUtils queryPage(CommentInfoQuery query);

    CommentInfoEntity initCommentInfo(CommentMemberInfoEntity commentMemberInfo, CommentInfoVo vo);

    PageUtils queryGoodDetailCommentPage(GoodDetailCommentQuery query);

    CommentInfoEntity getInfo(String spuId, String orderSn);

    void updateAppendComment(String appendContent, int appendStatus, String spuId, String orderSn);


    void updateMerchantApply(String spuId, String orderSn, Integer answerStatus, String answer);


}

